package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 用料采购申请对象 mate_pur_requisition
 *
 * @author ruoyi
 * @date 2020-07-06
 */
public class MatePurRequisition extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 材料类型
     */
    @Excel(name = "材料类型")
    private String mName;

    /**
     * 材料数量
     */
    @Excel(name = "材料数量")
    private Long mNum;

    /**
     * 审批状态
     */
    @Excel(name = "审批状态")
    private Long mStatus;

    public String getmApplicant() {
        return mApplicant;
    }

    public void setmApplicant(String mApplicant) {
        this.mApplicant = mApplicant;
    }

    /**
     * 申请人
     */
    @Excel(name = "申请人")
    private String mApplicant;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private Date mTime;

    public String getmOpinion() {
        return mOpinion;
    }

    public void setmOpinion(String mOpinion) {
        this.mOpinion = mOpinion;
    }

    /**
     * 审批意见
     */
    @Excel(name = "审批意见")
    private String mOpinion;

    public Date getmTime() {
        return mTime;
    }

    public void setmTime(Date mTime) {
        this.mTime = mTime;
    }

    public Long getmStatus() {
        return mStatus;
    }

    public void setmStatus(Long mStatus) {
        this.mStatus = mStatus;
    }

    /**
     * 项目外键
     */
    @Excel(name = "项目外键")
    private Long mId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmName() {
        return mName;
    }

    public void setmNum(Long mNum) {
        this.mNum = mNum;
    }

    public Long getmNum() {
        return mNum;
    }

    public void setmId(Long mId) {
        this.mId = mId;
    }

    public Long getmId() {
        return mId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mName", getmName())
                .append("mNum", getmNum())
                .append("mId", getmId())
                .append("mStatus",getmStatus())
                .append("mTime","mTime")
                .append("mOpinion",getmOpinion())
                .append("mApplicant",getmApplicant())
                .toString();
    }
}
